package bpm.dao.impl.user;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import bpm.domain.user.OrgGroupType;
/**
 * 
 * @author ZhaoWangLong Jul 15, 2011
 *
 */
public class OrgGroupTypeRowMapper implements RowMapper {

	public Object mapRow(ResultSet rs, int i) throws SQLException {
		OrgGroupType  type=new OrgGroupType();
		type.setId(rs.getString("ID"));
		type.setName(rs.getString("NAME"));
		return type;
	}

}
